package com.scm.persist.mybatis;

import com.scm.persist.model.ScmOrderLog;
import com.scm.persist.model.ScmOrderLogExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmOrderLogMapper {
    int countByExample(ScmOrderLogExample example);

    int deleteByExample(ScmOrderLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmOrderLog record);

    int insertSelective(ScmOrderLog record);

    List<ScmOrderLog> selectByExampleWithRowbounds(ScmOrderLogExample example, RowBounds rowBounds);

    List<ScmOrderLog> selectByExample(ScmOrderLogExample example);

    ScmOrderLog selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmOrderLog record, @Param("example") ScmOrderLogExample example);

    int updateByExample(@Param("record") ScmOrderLog record, @Param("example") ScmOrderLogExample example);

    int updateByPrimaryKeySelective(ScmOrderLog record);

    int updateByPrimaryKey(ScmOrderLog record);
}